<?php
include 'QuestionController.php';
$nickname = $_REQUEST['nickname'];
$introduce = $_REQUEST['introduce'];
$content = $_REQUEST['content'];
$questionId = $_REQUEST['questionId'];
$answer = new Answer();
$answer->setNickname($nickname);
$answer->setIntroduce($introduce);
$answer->setContent($content);
addAnswer($answer, $questionId)

?>